package com.lpc.dagger2test.component;

import com.lpc.dagger2test.MainActivity;
import com.lpc.dagger2test.module.UserModule;

import javax.inject.Singleton;

import dagger.Component;

/**
 * 功能:
 * <p>
 * 描述:
 * <p>
 * Created by lipc0113 on 2018/7/27.
 */
@Singleton
@Component(modules = {UserModule.class}, dependencies = {AppComponent.class})
public interface MainComponent {

    void inject(MainActivity mainActivity);
}
